/**
 * 
 */
package com.bitBusy.manageyourriches.database.tables;

/**
 * Table that stores previously chosen values for each category
 * @author SumaHarsha
 *
 */
public enum PreviouslyChosenValues implements TableDefinition{
	
	CATEGORYCOL("category", " TEXT PRIMARY KEY"),
	SUBCATEGORYCOL("subcategory", " TEXT"),
	PAYMENTINFOCOL("paymentMethod", " TEXT");
	
	
	/**Name of column*/
	private String myName;
	
	/**Datatype of column*/
	private String myDatatype;
	
	private PreviouslyChosenValues(String the_name, String the_datatype)
	{
		myName = the_name;
		myDatatype = the_datatype;
	}
	
	/* (non-Javadoc)
	 * @see com.bitBusy.manageyourriches.database.tables.TableDefinition#getName()
	 */
	@Override
	public String getName() {
		return myName;
	}

	/* (non-Javadoc)
	 * @see com.bitBusy.manageyourriches.database.tables.TableDefinition#getType()
	 */
	@Override
	public String getType() {
		return myDatatype;
	}

}
